package net.taviscaron.drivenotes.android.activity;

import net.taviscaron.drivenotes.android.R;
import net.taviscaron.drivenotes.shared.model.entity.Note;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

public class NoteActivity extends Activity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
	super.onCreate(savedInstanceState);
	setContentView(R.layout.note);
	Note note = (Note)getIntent().getSerializableExtra("note");
	((TextView) findViewById(R.id.noteDescription)).setText(note.getNote());
    }
}
